package com.ethink.platform.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.HashSet;
import java.util.List;


/**
 * 业务配置
 *
 * @author meiping
 * @date 2022-03-21
 */
@Data
@Component
@ConfigurationProperties(prefix = "ethink.platform-server.common")
@RefreshScope
public class PlatformCommonProperties {

    private String bucketName;

    private String prefix;
    private String exportPrefix;

    private HashSet<String> po;

    private String joinPo;

    private String saleConfirmRoleName;
    private String purchaseRoleName;
    private String logisticsRoleName;
    private int maxExportPageQuerySize = 10000;
    private int bigExcelWriterRows = 10000;
}
